package Mondes;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import ia_0.World;
import ia_0.data_model.Element;
import ia_0.data_model.Food;
import ia_0.data_model.character.POI;
import ia_0.data_model.character.animal.AnimalDome;
import ia_0.data_model.character.human.Eleveur;
import java.awt.Point;

/**
 *
 * @author jderenty
 */
public class CarteSimple extends World{

    public CarteSimple(){
        super(21,21);
        this.type(1,0,Type.jungle);
        this.type(2,0,Type.jungle);
        this.type(3,0,Type.jungle);
        this.type(1,1,Type.jungle);
        this.type(2,1,Type.jungle);
        this.type(7,7,Type.jungle);
        this.type(6,7,Type.jungle);
        this.type(5,7,Type.jungle);
        this.type(5,8,Type.jungle);
        this.type(5,9,Type.jungle);

        this.type(10,5,Type.jungle);
        this.type(10,6,Type.jungle);
        this.type(10,7,Type.jungle);
        this.type(10,8,Type.jungle);
        this.type(10,9,Type.jungle);
        this.type(10,10,Type.jungle);
        this.type(10,11,Type.jungle);
        this.type(10,12,Type.jungle);
        this.type(11,6,Type.jungle);
        this.type(11,7,Type.jungle);
        this.type(11,8,Type.jungle);
        this.type(11,9,Type.jungle);
        this.type(11,10,Type.jungle);
        this.type(11,11,Type.jungle);
        this.type(12,6,Type.jungle);
        this.type(13,7,Type.jungle);
        this.type(12,8,Type.jungle);
        this.type(12,9,Type.jungle);
        this.type(12,10,Type.jungle);

        final AnimalDome aD=new AnimalDome();
        this.addElement(aD, new Point(14,0));
//
        aD.addKnow(new POI(new Point(14, 0),POI.TypePOI.food));
        aD.run();

        final Eleveur h=new Eleveur();
        h.addKnow(new POI(new Point(0, 1),POI.TypePOI.food));
        h.addKnow(new POI(new Point(14, 0),POI.TypePOI.animalDome));
        this.addElement(h, new Point(14,0));

        //final Constructeur cons=new Constructeur();
        //w.addElement(cons, new Point(13, 14));
        //cons.addKnow(new POI(new Point(0, 1),POI.TypePOI.food));

        Element f=new Food();

        this.addElement(f, new Point(0,1));

    }

}
